package com.shelpe.services.scheduler.syncclient;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.shelpe.services.scheduler.dto.OrderCustomerDto;



@FeignClient(name="${simbasync.serviceID}", url="${simbasync.url}")
@RequestMapping(value = "/simbasync")
public interface OrderCustomerClient {
	
	
	@RequestMapping(method = RequestMethod.GET, value = "/@deleteordercustomer")
	public OrderCustomerDto deleteAllOrderCustomer();
	
	@RequestMapping(method = RequestMethod.GET, value = "/@syncordercustomer")
	public OrderCustomerDto syncOrderCustomer();
	
	@RequestMapping(method = RequestMethod.GET, value = "/articlecode/{article_code}/@order")
	public OrderCustomerDto syncOrderByArticleCode(@PathVariable("article_code") String articleCode);

}
